package com.ctgu.chatapp.model.Database

import androidx.room.Database
import androidx.room.RoomDatabase
import com.ctgu.chatapp.model.Dao.*
import com.ctgu.chatapp.model.pojo.*

@Database(
    entities = [FriendShip::class, Information::class, RecordNew::class, Request::class, User::class],
    version = 1,
    exportSchema = false
)
abstract class IMSDataBase : RoomDatabase() {

    abstract fun getUserDao(): UserDao

    abstract fun getFriendDao(): FriendDao

    abstract fun getMsgDao(): MsgDao

    abstract fun getInformationDao(): InformationDao

    abstract fun getRequestDao(): RequestDao
}